package pers.dawnyang.modular.monitor.controller;

import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * durid数据监控页面跳转
 * 
 * @author dawn yang
 *
 */

@RequestMapping("/monitor/data")
@Controller
public class DruidController {

  @RequiresPermissions("monitor:data:index")
  @GetMapping("/index")
  public String index() {
    return "redirect:/druid/index";
  }
}
